import request from "@/utils/request";
// 获取用户信息
export function getUserInfoService() {
  return request.get("/home/user");
}
// 登录
export function loginService(data) {
  return request.post("/home/login", data);
}
// 注册
export function registerService(data) {
  return request.post("/home/register", data);
}
